library FdfFile initializer init

    private function init takes nothing returns nothing

        call BJDebugMsg("================== 加载FDF ====================")

<?import("FFItemTip.fdf")[[

    Frame "BACKDROP" "fftip" {
        Width 0.0745,
        Height 0.04325,

        BackdropTileBackground,
        BackdropBackground  "UI\Widgets\ToolTips\Human\human-tooltip-background.blp",
        BackdropCornerFlags "UL|UR|BL|BR|T|L|B|R",
        BackdropCornerSize  0.012,
        BackdropBackgroundSize  0.032,
        BackdropBackgroundInsets 0.004f 0.004f 0.004f 0.004f,
        BackdropEdgeFile  "UI\Widgets\ToolTips\Human\human-tooltip-border.blp",
        BackdropBlendAll,
    }   

    Frame "TEXT" "UI_TEXT_14_LEFT" {
        FrameFont "fonts\fonts.ttf", 0.014, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
    }

    Frame "TEXT" "UI_TEXT_14" {
        FrameFont "fonts\fonts.ttf", 0.014, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
    }

    Frame "TEXT" "UI_TEXT_18" {
        FrameFont "fonts\fonts.ttf", 0.018, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_12" {
        FrameFont "fonts\fonts.ttf", 0.012, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_8" {
        FrameFont "fonts\fonts.ttf", 0.008, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }

    Frame "TEXT" "UI_TEXT_8_BOTTOM" {
        FrameFont "fonts\fonts.ttf", 0.008, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYBOTTOM,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_8_LEFT" {
        FrameFont "fonts\fonts.ttf", 0.008, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }

    Frame "TEXT" "UI_TEXT_9_LEFT" {
        FrameFont "fonts\fonts.ttf", 0.0098, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_9" {
        FrameFont "fonts\fonts.ttf", 0.009, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_9_TOPLEFT" {
        FrameFont "fonts\fonts.ttf", 0.009, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYTOP,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_9_TOPRIGHT" {
        FrameFont "fonts\fonts.ttf", 0.009, "",
        FontJustificationH JUSTIFYRIGHT,
        FontJustificationV JUSTIFYTOP,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_10" {
        FrameFont "fonts\fonts.ttf", 0.010, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_10_LEFT" {
        FrameFont "fonts\fonts.ttf", 0.010, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_10_RIGHT" {
        FrameFont "fonts\fonts.ttf", 0.010, "",
        FontJustificationH JUSTIFYRIGHT,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_10_TOP" {
        FrameFont "fonts\fonts.ttf", 0.010, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYTOP,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_11" {
        FrameFont "fonts\fonts.ttf", 0.011, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYTOP,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_11_LEFT" {
        FrameFont "fonts\fonts.ttf", 0.011, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYTOP,  
        FontFlags "FIXEDSIZE",
    }

    Frame "TEXT" "UI_TEXT_11_RIGHT" {
        FrameFont "fonts\fonts.ttf", 0.011, "",
        FontJustificationH JUSTIFYRIGHT,
        FontJustificationV JUSTIFYMIDDLE,  
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_12_TOP" {
        FrameFont "fonts\fonts.ttf", 0.012, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYTOP,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_12_LEFT" {
        FrameFont "fonts\fonts.ttf", 0.012, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_12_RIGHT" {
        FrameFont "fonts\fonts.ttf", 0.012, "",
        FontJustificationH JUSTIFYRIGHT,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_15" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_22" {
        FrameFont "fonts\fonts.ttf", 0.022, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXT" "UI_TEXT_22_LEFT" {
        FrameFont "fonts\fonts.ttf", 0.022, "",
        FontJustificationH JUSTIFYLEFT,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }

    Frame "TEXT" "UI_TEXT_30" {
        FrameFont "fonts\fonts.ttf", 0.030, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,    
        FontFlags "FIXEDSIZE",
    }
    
    Frame "TEXTBUTTON" "UI_ButtonDef" {
        ControlStyle "AUTOTRACK",
        ButtonPushedTextOffset 0.0 0.0,   
    }
    
    Frame "TEXTAREA" "UI_TEXTAREA" {
        FrameFont "fonts\fonts.ttf", 0.011, "",
        TextAreaLineHeight 0.012,
        TextAreaLineGap 0.0,
        TextAreaInset 0.01,
    }
    
    Frame "TEXT" "PTWB" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0010 -0.0010,
    }
    
    Frame "TEXT" "PTWB2" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB3" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB4" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB5" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB6" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB7" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB8" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB9" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    }
    
    Frame "TEXT" "PTWB10" {
        FrameFont "fonts\fonts.ttf", 0.015, "",
        FontJustificationH JUSTIFYCENTER,
        FontJustificationV JUSTIFYMIDDLE,
        FontFlags "FIXEDSIZE",
        FontShadowOffset 0.0008 -0.0008,
    } 
]]?>
<?import("FFItemTip.toc")[[
    FFItemTip.fdf
          
]]?>
        call DzLoadToc( "FFItemTip.toc" )
    endfunction

endlibrary